package uk.co.q3c.deplan.client.service;

import uk.co.q3c.deplan.client.dao.CalendarService;
import uk.co.q3c.deplan.client.dao.CalendarServiceAsync;
import uk.co.q3c.deplan.client.dao.DesignService;
import uk.co.q3c.deplan.client.dao.DesignServiceAsync;
import uk.co.q3c.deplan.client.dao.ResourceService;
import uk.co.q3c.deplan.client.dao.ResourceServiceAsync;

import com.google.gwt.core.client.GWT;

public class AsyncServiceFactoryGWT implements AsyncServiceFactory {

	@Override
	public CalendarServiceAsync calendarServiceAsync() {
		return GWT.create(CalendarService.class);
	}

	@Override
	public DesignServiceAsync designServiceAsync() {
		return GWT.create(DesignService.class);
	}

	@Override
	public ResourceServiceAsync resourceServiceAsync() {
		return GWT.create(ResourceService.class);
	}

	@Override
	public TaskServiceAsync taskserviceAsync() {
		return GWT.create(TaskService.class);
	}

}
